# 设置要求的CMake最低版本
cmake_minimum_required(VERSION 3.0)

# 设置项目名称
project(PandaTransportProtocolTest)

if (WIN32)
add_definitions(-DPANDA_WIN32)
elseif (IOS)
add_definitions(-DPANDA_APPLE)
elseif (APPLE)
add_definitions(-DPANDA_APPLE)
elseif (LINUX)
add_definitions(-DPANDA_LINUX)
endif()
# 添加源文件
set(SOURCES
    main.cc
)
# find_package(OpenSSL REQUIRED)
# include_directories(${OPENSSL_INCLUDE_DIR})

# 添加头文件路径
include_directories(../3rd_lib)
include_directories(../api)
include_directories(json/single_include/nlohmann)

add_executable(${PROJECT_NAME} ${SOURCES})

target_link_libraries(${PROJECT_NAME}
    # ${OPENSSL_LIBRARIES}
    PandaTransportProtocol_a)